package com.stylefeng.guns.modular.system.service;

import com.github.pagehelper.PageInfo;
import com.stylefeng.guns.modular.small.dto.ConsumerCommentDTO;
import com.stylefeng.guns.modular.system.model.ConsumerComment;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 用户评论 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2019-09-09
 */
public interface IConsumerCommentService extends IService<ConsumerComment> {

    /**
     * 分页查询
     * @apiParam {Number} pageCount  每页多少条.
     * @apiParam {Number} currentCount  当前多少页.
     * @apiParam {Number} artificerId    技师id.
     * @return
     */
    PageInfo<ConsumerComment> searchList(Integer artificerId, Integer pageCount, Integer currentCount);

    /**
     * 分页查询
     * @apiParam {Number} pageCount  每页多少条.
     * @apiParam {Number} currentCount  当前多少页.
     * @apiParam {Number} artificerId    技师id.
     * @return
     */
    PageInfo<ConsumerCommentDTO> searchDtoList(Integer artificerId, Integer pageCount, Integer currentCount);
}
